package com.koron.tool.fegin;

import com.koron.bean.base.Response;
import com.koron.bean.system.staff.vo.EamUser;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: laiguangming
 * @Date: 2022/10/21 9:19
 */
@FeignClient(value = "eam-service-system", fallbackFactory = FeignFallbackFactory.class)
public interface SystemFeignService {

    @GetMapping("/system/staff/queryStaffInfo")
    Response<EamUser> queryStaffInfo(@RequestParam("account") String account);

}
